package com.qili.mapper.supervisor;

import com.qili.base.mapper.BaseMapper;
import com.qili.entity.supervisor.SupervisorProjectMilepost;
import com.qili.entity.supervisor.SupervisorProjectStage;
import com.qili.entity.supervisor.dto.SupervisorProjectMilepostDTO;

import java.util.List;

/**
 * @author zhaoyongke
 * @date 2020/11/3  项目 里程碑
 * @description
 */
public interface SupervisorProjectMilepostMapper  extends BaseMapper<SupervisorProjectMilepost,String> {

    List<SupervisorProjectMilepostDTO> selectProjectmilepost(SupervisorProjectMilepostDTO dto);
    /**
     * @Author:Zhangshuo
     * @Description:根据项目ID删除
     * @param ids
     * @Date:20:33 2020-12-11
     */
    int deleteByProjectIds(String[] ids);

    String getFinishedMilepostProgress(SupervisorProjectStage stage);

    String getFinishedMilepostProgressWith(SupervisorProjectMilepost milepost);

    List<SupervisorProjectMilepostDTO> selectMilePostOrder(SupervisorProjectMilepostDTO dto);


    //int insert(SupervisorProjectMilepost supervisorProjectMilepost);
}
